/*
 * Copyright 2009 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.dailydev.wave.robot;

import org.dailydev.wave.robot.context.IEventContext;

import com.google.wave.api.Event;
import com.google.wave.api.RobotMessageBundle;
import com.google.wave.api.Wavelet;

/**
 * @author Roman Bosak, DailyDev.org
 * 
 */
public class RobotHandlerAdapterTest_EventHandlerStub {

    public String calledMethod;

    public void valid1(Event event) {
        calledMethod = "valid1";
    }

    public void valid2(RobotMessageBundle bundle) {
        calledMethod = "valid2";
    }

    public void valid3(Wavelet wavelet) {
        calledMethod = "valid3";
    }

    public void valid4(Event event, RobotMessageBundle bundle) {
        calledMethod = "valid4";
    }

    public void valid5(Event event, Wavelet wavelet) {
        calledMethod = "valid5";
    }

    public void valid6(RobotMessageBundle bundle, Event event) {
        calledMethod = "valid6";
    }

    public void valid7(RobotMessageBundle bundle, Wavelet wavelet) {
        calledMethod = "valid7";
    }

    public void valid8(Wavelet wavelet, Event event) {
        calledMethod = "valid8";
    }

    public void valid9(Wavelet wavelet, RobotMessageBundle bundle) {
        calledMethod = "valid9";
    }

    public void valid10(Event event, RobotMessageBundle bundle, Wavelet wavelet) {
        calledMethod = "valid10";
    }

    public void valid11(Event event, Wavelet wavelet, RobotMessageBundle bundle) {
        calledMethod = "valid11";
    }

    public void valid12(RobotMessageBundle bundle, Wavelet wavelet, Event event) {
        calledMethod = "valid12";
    }

    public void valid13(RobotMessageBundle bundle, Event event, Wavelet wavelet) {
        calledMethod = "valid13";
    }

    public void valid14(Wavelet wavelet, Event event, RobotMessageBundle bundle) {
        calledMethod = "valid14";
    }

    public void valid15(Wavelet wavelet, RobotMessageBundle bundle, Event event) {
        calledMethod = "valid15";
    }

    public void valid16(IEventContext context) {
        calledMethod = "valid16";
    }

    public void valid17(Event event, IEventContext context) {
        calledMethod = "valid17";
    }

    public void valid18(Event event, RobotMessageBundle bundle, Wavelet wavelet, IEventContext context) {
        calledMethod = "valid18";
    }

    public void valid19(IEventContext context, Event event, RobotMessageBundle bundle, Wavelet wavelet) {
        calledMethod = "valid19";
    }

    public void invalid01(Event event, RobotMessageBundle bundle, String third) {
    }

    public void invalid02(Event event, String third) {
    }

    private void invalid03(Event event, RobotMessageBundle bundle) {
    }

    public void invalid04(Event event, RobotMessageBundle bundle) {
        calledMethod = "invalid04";
        throw new UnsupportedOperationException("Unsupported");
    }

    public void invalid05(Event event, RobotMessageBundle bundle, Wavelet wavelet, String fourth) {
    }
}
